package ie.lawlor.amvc.controller;

import ie.lawlor.amvc.event.EventName;


public class RouteToParentEvent extends ControllerEventWrapper{
	
	public RouteToParentEvent() {
		super();
	}
	public RouteToParentEvent(EventName applicationEvent){
		super();
		this.applicationEvent = applicationEvent;
	}
	public void addToController(Controller controller){
		controller.routeToParent(applicationEvent, override);
	}
}